class CreateGames < ActiveRecord::Migration
  def self.up
    create_table :games do |t|
      t.column :player1, :string
      t.column :player1_token, :string
      t.column :player1_name, :string
      t.column :player2, :string
      t.column :player2_name, :string
      t.column :player2_token, :string
      t.column :token, :string
    end
  end

  def self.down
    drop_table :games
  end
end
